cast 0/1 to false/true to get past validator
update README fn signature