add image functionality added