add images and code logic