revised the 'getallnonexternalimports()' method