calculation working, log working half