change pointer_arrow to a simple function avoind nodejs compatibility