made an API of that, needs some fine-tuning regarding char positioning, though