updated deprecated methods