add parallel for line 287