demo for math extension