added arithmetic as parameter