update README
update: split to separate functions
Merge branch 'master' into wip_testing