corrected the exception message
changed Neighborhood to be able to handle all possible palletes