Implemented select.C