move assert for previous commit