started setting up configuration logic