divide by log now works