moved hex functions into danimal:hx