generic get object