We are currently executing functions sequentially. But we need to do this in parallel, with a non blocking mechanism