first P5 port and working version