support formultiple route types