changed chomp -> delete