defined queri and criterias inreface, start writting tests