added locations validations