answer 3-6
Use this fancy notation for a helper function