Better arguments checking