setting up for merging variables