master to pages