removed some deprecated functions
updated for version 3.13.1