basic layout implemented