Why was Japan having peace treaty talks with the US?

to allow time for the training of pearl harbor. and to blindside the US.