finished, super slow, need to move cropping to end of program