Moved error msg from compute to num?