this method cannot be declared static; static methods can only be declared in a static or top level type