(This is just a question out of convenience. Right now I\'m doing it manually, but ideally, there should be a library that already takes care of this, but I just couldn\'t find