Added the cutting functionality, it works