added deprecated functions