working on restoration on  client example and adding documentation