added layout prototype