Added helper function for combining two sets of options