return from deprecated method