implemented knowledge based conditions