sets the assingment as the block