new devisor function