pat: adding permalinks