cut implemented