Tweak to var usage in nth()