change to distinct n