How to create a View