Register finally works