implemented not-querys in a more generic way