added description of generateHomepage