oh, the spec was simpler than I thought