Add client maintance function