removed all the deprecated functions