hook_tick implemented