add client custom mode