cleaned up some code in Board@get_hex