To add method that save relation between P and I