run functions.