(still) working on function validation at parse time