updated example to be in line with readme