Fix function name as per example in README