Added main structureo