added deprecated methods to support the old tutorial