added calculator and digit grammar