initialized dx functions