add dynamic function for companies.