add storage and stack