Fix function example in readme