added getclientCode