updated deprecated behavior