stopped using a deprecated method