Dave included his entire function within the export whereas your calling a private function. It's a bit different ;-).