added wired mode