q5.13 yet another solution -- make new register while lookuping