config params and logic extracted from storages