Icons icons is now treated as global variable
cleaning up the code