added relationship to pages