I might use this at some point but I made this. If you have any ideas on optimizing this please tell me