Make apply work