call to deprecated function?