deprecated function changes