removed deprecated statements