first lines and images, functioning with slide