Sortof rewrote LeChosenOne's work (With 0 errors)