Before changing lot logic