changed ttest to two tail for related samples