criteria direction parameter added to documentation file