working on efficint processing