simplify processing, make it faster