added buttons and main layout