reverted a function I was working on and probably added some newlines
added little nifty fix