main + console