notes about race conditions