Im not sure what I'm doing, but I had to add all this stuff to make it work.