first attempt at drawing jpegs