<hw4> Basic registration framework