added LED debugging method