first pass configuation