added inputs for devisors and strings