add check for specific calls in loops; checks can now take options from cli