working version of variants with info
refactor calldata