Added Rana function