adding structure for p4