creation of the register task