add cached all function.