first initial success with div algorithm