possibly bad LED code