prompt needs to chomp so strings don't have \n in them