added executable body for functions and programs