commit homework3 : simple intent example