edited p1 fit