added batch interval