implement store_multiple method