added exmaple to documentation