store SAMSession by pointer