removed a lot of trailing whitespace