resolve some parsing function compiler errors
finished parsing functions
more helpful invocation error message