trying to get erosion to work correctly