page c refactor