now returns image data
should fix most of #12