Added main frame