Possible implementation of register_computation