handle_reg done!