Comments on the usage of getResult(callback) function