I suck at testing my code, silly mistake