Triple cut implemented and tested