working changing text solution and cleaned up main page