Add apply method