added tags to registers