removed more unnessary calloc, test1 now executes without having to allocate memory