detect pkg for 3 modulars