added relationship between caption and image