optionally pass elements to be checked as parameter on call