Function in Ruknuddin Sarai