ran it through resharper

made a few changes to the style, might clean it up later