example code & tests for day 5