broke apart wire stuff, added UI behavior