removed redefiniton of register method