Removed unused function, hex can be modeled with 2 funcions.