state machine was running off of the wrong clock. Nice work dan