added criterion to engine examples