Store v3 hw

modify codes according to provided solutions