why the f* would the module run through a loop with indexes? :S