visibility can not be set for methods that do not exist