Fixing the code:
- code is not returning dig results to the aplication