added close
Added combination generator