Creating a UI programmatically

pg. 148