Bad indentation. Heavily cleaned up code format.