use dollar prefix for hook function (currently just $compute) so as to be less confusing