add configure method to clients. should refactor this really soon.