Finished the select command and added another feature to the API