improved home page functionality