added layout to main activity