Using the history component