fixed up example API file to stop codesniffer complaining