P08 with tests.