changed to chomp