updated division, works correctly now, but it's ugly
much cleaner division, debugging flags, version bump