Updated crop functionality