fixed return type for pullData()