added run functions