adding select controller