adding warnings to specify deprecated functions