add Timer functionality