cleaned up mainpage