added arrowfunction example