HA6 barebone code