add crop support