adding generic Get functionality