Moved logic