Refactor divisible by methods