cleaned up main page