Added cut part functionality