added router generator