created surroundings function to get world information