clean up of starting maze code