Added method to add items to the register and modified args to support this feature
Finalized method to add items to register