added a config implementation