added validations to batch entry