configure and model