clean vars definition and add comment to example