minor now uses phd package