refactoring, added Toast that shows the results