defining Layout and images