Add code for view member