callbacks are called with store context