realtime timer implemented