configure method