mock helpers