changed default run function