i think i finally got the timing right