tally resources and links
add function comments