adding use strict and check requestTemp function