adding undirected and directed translations