for-loop works (nested loops NOT tested) => performance terrible :(