added arithmetic
debuuging and addition of tests