preliminary implementation of Hex20