Initial draft of the criteria, it is untested beta code however.