moved away from v8 bindings added direction support