added support for wildcard routes