refactored crop view