changed confusing variable names in positions list comp