Changed some formatting to make file more readable, still not running properly