exercise 2.8; added images and tabs