return a MapItem and add it to a MapStore on every function