There is no way for another class to reference an object it has no knowledge of (ie. in another class). You must somehow pass that object to your sd class. Also, as a side note in this case it isn't...