deprecated functions replaced