updating method firms and adding test