add information regarding the order of call of the methods with an example