diff --git a/clickhouse-haskell.cabal b/clickhouse-haskell.cabal
--- a/clickhouse-haskell.cabal
+++ b/clickhouse-haskell.cabal
@@ -1,6 +1,6 @@
 cabal-version:  1.12
 name:           clickhouse-haskell
-version:        0.1.2.1
+version:        0.1.2.2
 synopsis:       A Haskell library as database client for Clickhouse
 homepage:       https://github.com/2049foundation/clickhouse-haskell/
 bug-reports:    https://github.com/2049foundation/clickhouse-haskell/issues
diff --git a/src/Database/ClickHouseDriver/Client.hs b/src/Database/ClickHouseDriver/Client.hs
--- a/src/Database/ClickHouseDriver/Client.hs
+++ b/src/Database/ClickHouseDriver/Client.hs
@@ -36,13 +36,14 @@
     fetchWithInfo,
     execute,
     -- * Communication
-    client,
+    createClient,
     defaultClient,
     closeClient,
     -- * Connection pool
     defaultClientPool,
-    createClient,
-    createClientPool
+    createClientPool,
+    -- * retrieve settings
+    client
   )
 where
 
@@ -155,8 +156,10 @@
                    | CKPool (Pool TCPConnection)
 
 class Resource a where
-  client :: Either String a->IO(Env () w)
-            -- ^ Either wrong message of resource with type a
+  client :: Either String a
+             -- ^ Either wrong message of resource with type a
+           ->IO(Env () w)
+            
 
 -- | fetch data
 fetchData :: State Query->BlockedFetch Query->IO ()
@@ -202,7 +205,8 @@
 
 defaultClient :: IO (Env () w)
 defaultClient = createClient def 
-  
+
+-- | create client with given information such as username, host name and password etc. 
 createClient :: ConnParams->IO(Env () w)
 createClient ConnParams{
                  username'   
