register works well now