fixed error where two sample objects are returned for for a single
sample id
commented out untested code