cleaning up formatting to pass tests