So that's what I was doing wrong