add loadArrayBuffer method