timer almost works