replace run function
changing move to run