rewrote functions to ease Core translations