added feature chomp (closes #2)