Added divisor functionality