forgot a few things needed for adding variants