Added invoke and sum method to IterUtil