added type to ded