got sidetracked, fixed counting spaces