removed the distinct as it was breaking things and stuff