added deprecation warnings