solving a long-time conversion goal, but not elegantly