changed the thank you message, corrected a type