update for scrutinizer rating : ternary added