make cropping optional