scheduler
Add tick scheduling