make reservoir sample an object