created layout including yield statement