Crop Function is done