Added -a option for choosing all the results