updating for deprecation