alert when 10 is reached