composite beta and run functions