starting to deal with image sizes, still lots of bugs