added last tick event