better wheres, added distinct