added layout and default values