use logging
add note about template inheritance limitation.