add getAvailableStorageSize