added methods for SplayTree