Broke out cropping functions