removed a deprecated function