Adding required functions in parall.c and .h