I think this should be rewritten in rust for extra safety
I think this should be rewritten in rust for extra safety