added layout snippet