significant refactoring, rhs identifier assignment working now