my homework for standard public class iOS development