removing extraneous spacing