refactored companyCheck fragment