more deprecated function replacement