adaptation of accords.in for use with cosacs