fixed spacings
incorporated feedback from code review