refactored confg method inputs close #16