created 2 universal eidt functions