fix printing logic
add comment header