start of option to select all patches