added chomp alternative