changed dematerializer interface