defining the strype global variable and testing it