Updated README with new function syntax