adding validations to lot to prevent errors