add a crop method