updated example and readme