passing ctx to store_hdcc