Why not replace `type` with `'us'`? It would be much simpler. :)