implement of and to operators