added strict mode to identify methods