adds configure method