New helper function to avoid IndexError upon slicing out
our columns of interest.
Removed blanklines and adding some more vars of interest.