support logical and arithmetic operators