assignemnt with Reg