a code piece is moved to a more narrow context