removed deprecated method in favor of new one