modify method scope