add backward-compat functions