implementing strict mode