adding 'use strict' directive, but wrapping each in a local scope