VE-160 move var dec to top of function
VE-160 document params