Adding ability to only get unique records