cleaned up functional homepage