Updated with apply