adding hex methods