new cut, working version