revised example and readme