added layout diagram