method redefinition warning