removed deprecated functions