refactored printable type variable for clarity