basic structures - main frame