It wasn't working because I am stupid!