additional apply method for backwards compatibility