first solution to P0204