removed deprecated method