Added parts of LED code