configured main struct