Implemented P31 to P33