Indeed, re-reading this the variable names do not make sense at all, in hindsight. Fixing it now