logic error on detecting if we just played