Implemented gremlin, changed parameter list