Register is now made from a closure