Implement raw page-role fuction