Good PR, but this doesn't respect best practices : var defs on one line please!