added images. changed pagination