updated for TinkerPop 2.3