- removed use of deprecated function