removing deprecated functions