refactor rx
refactor var
assignment operator for rx