handle start and running