implement kata 9