implemented page manager