timer works fine now