use data as the first argument for whenDone
update README to reflect recent changes