refatorando firmscope e ownerscope