This may work a little bit, getting closer for sure, there are a lot of things that aren’t taken care off still, edge cases, but it should
 be easy