adding the select command