added crop method