add support for fragments
update readme