deletes deprecated method