correct many function

general & troyka