route criterion functionality
criterion