Added select command

TODO add deselect function