How to add a view