Handlers return a pointer to the new state (isn't it beautiful?).