new select button, improved interface, code cleaned up