logical assignment