views struct