concatenating the images