privatized the def

Build Robust and Production Quality Applications - Lesson 5 #5