backward-compat functions