starting to deal with image size, still lots of errors