simplify chop using arg pattern matching and guard