updating with an example of using subviews