added RREG command