moving tick to process.run