logging and percents