Why is this returning a raw pointer?