Code should work in my head, but it doesn't