Trying to eliminate newlines to get code to compile