modified ja_runner to work with two lists