current image abstraction code