added select all/none option