Remove whitespace and move return fn in readme