Implemented tick method