extract conversion logic & some clippy clip

Created by  Jengamon  on February 5, 2024
MT6IBX7SGLE26XIFZY53WYNHSJZMSDVDRJP3VYPXIQ4DKY75XVXAC
Change contents