register kinda working