pseudocode for configuration