cleaning up some code formatting problems