implemented 'use strict' mode