Parameter loop does not correctly update results