use synchronized list instead