removed unncecessary object creation, because the compiler automatically makes an ItemDataPtr object for the return.