safety argument handlig with argForIndex method