Because it is a private function. If you would like it to be accessible outside of the class, mark it as 'public'. Look here for all of the access modifiers.