changed to distinct