This is to post process visit output