update state machine to handle first reflection off the wall