change create client to use an initializer