update readme, add function reference