work on config and models