very confused about what's going on here - why are you stubbing with a function like this?