working on config and models