add route definition enhancement