added bit operators and slice