added bufSize parameter to Init, required by using software