wraps up lesson 3
add method to handle titles and update tests and views