revision on 'for loop' and module addition