added mathematical expression pasing