Modified for the case addning processes in middle