remove deprecated method using