Merged Four lines of ImportElementInfo function