create directionsDisplays object and make undo work again