WIP: Implementing cropping feature