worked on fundef and fundec