Used a tutorial for cutting and blending