better image display, add projection code