added helper queries that return a single record