Working solution for p1b