implement router params