Why were there 10 plagues?