began work on getting sub image from frame
fixing merge conflict