pass in your own config deifnition