reformatted code.  eclipse default uses is not to my liking