arriving at the mehendi function