for herlock nativejs