first step for batch testing