add blog enhance
add comment
use global variable
change code style