switched to ull data type; arrays now malloced