Ugly layout produced in lecture on views and layouts