process modules one by one