added annotation for deprecated functions