code for hexy enhancements - http://arcbotics.com/products/hexy/