changed miles per hour to int and added plug in toast