register is basically done