working timer with parent class