a working timer-based collector implemented