cleaning up final LED code