Added view member
Refactored id