Delete deprecated method
use new one