made featured section on homepage functional