collapse var declarations to one statement