define omega p1 and p2