added blockSelf snippet