adjustment to undefined logic