bugfixes, added example
update readme