add check whether condition is available