configure method  hash