varibales inside foreach