apply ... with ...