removed latches from state machine outputs. code looks like poop :(