main configuration