added layout feature