configure method added