Implemented a Tick System