streamlined total netto query class do avoid duplicate code