check for dict, else just set where