add storage side code