compiled adfter adding condvar