Working with handle_reg