Erosion of shorelines and protection