spacing, lines reduced

cleaned up code.