removed a deprecated method