parse through multiple variables