adding Timer Class