adding lots of stuff, including dynamic lines for math input.