Fixed it so that it actually works.