implements and satisfies test for the extension exercise!