implemented the desired strict mode