added blocks of code to icons