time event on control method