worte new query which allowed to reduce a method call from process while still completing the same task