p-value calculation added