worked on homepage functionallity