Working on getting example 4 fully functional