Conditionals adding of condition variable.