implemented arithmetic ops