add func of t test