new images and keiths code merged