thought I was onto something with fixing timing, but needs more work