p1010 clean code