lib/index now passes LINT