cleaned up some code styling issues