variableType function

Summary function for original class