add deprecated method