removed whitespaced on the end of lines