adding initial setup for p2