make copies instead of linking to variables