add #if test
add smart point tips & part of template