renamed function select to aocselect