mostly done? race coditions????