tweaked percentage
updated logging