fix2: invalid method declaration