example with store_def