added code for tissue cutting