now with apply