remove deprecation warning as requested by Jon