This is a note for ios7 stanford class