Added optional key variable for next.parallel