functions with leading spaces should still work (added a spec, still need a fix)'