1.add the run function