changed type to e_type in elements mig