add type math sample