<< and >> changed to < and >; ~ operator added