added branching and merging references
updated array2table, added callbacks