using batch code for evaluation - 10x faster