add validation to location