solution for coding exercise - Edindx