added support for sync storage