working on popup controller, chap 13