removing some deprecated functions