finally got registering view working