fixed some totally wack code, I'm pretty sure it didn't work before