purging unused variants code