added snippet to suppress deprecation warnings