apply_t and example