change the configure method signature