Made registering working