Trying to revert to deprecated method