kind of, uh I had some code to write down but I think it should work lol