solve of single variants implemented