adaptation of accords.in for external usage