space spacing issue several times in this method