more advanced cropping