made sure not to add variables twice with same metadata