[wip] Real-time conversion function