switched to use scrict