added ability to crop