change func_decl.ps into new syntax