Added returning of image