comments on complexity in sitemap function
added in current_message