working model for p1