added singleRun