Adding kout score calculation