adding new setTimer function that will work