added variants compatibility