add distribution support