dammit have to remove the log of t because it breaks things