make some operator functions const