implemented tick events and changes