started sudo; slight reorganization