updated exmaple and readme