Deprecated method changed