add define and run functions