wrap context method temporarily