add vardump function
add comments accroading to google-styleguide